﻿@using BonjourQuotation.UI.Models.Shared
@model AutoCompleteViewModel


  <div style="position: absolute; font-size: 11px; width: inherit; height: 80px; overflow-y: auto; overflow-x: hidden; z-index: 1000; background-color: rgba(217, 218, 219, 1); ">
    <div class="AutoCompleteDivClose"></div>
    @*<table class="table table-bordered table-hover">*@
    <table style="width:inherit">
        @foreach (var GridItm in Model.Items)
        {
            var val = Html.Encode(GridItm.Value);
            <tr style="cursor:pointer; width:inherit;" onclick="RoomAutoCompleteRowClick('@GridItm.Key','@val')">
                <td style="width:inherit; cursor:pointer;">
                    @Html.LabelForModel(GridItm.Value)
                    @Html.HiddenFor(model => GridItm.Key)
                </td>

            </tr>
        }
    </table>
</div>





